package com.zhengtoudai.injector.module;

import android.content.Context;

import com.zhengtoudai.database.DBManager;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2016/8/23 0023.
 */
@Module
public class DBModule {

    @Singleton
    @Provides
    public DBManager provideDBManager(Context mContext){
        return new DBManager(mContext);
    }
}
